package ui;
import feffects.easing.Quad;
import js.Dom.HtmlDom;
import js.Lib;
import tools.ASprite;

/**
 * @author PRASS
 */

class Footer extends ASprite 
{
	
	public function new() 
	{
		super( new JQuery("footer"));
		setAlpha(0);
		setWidth(500);
		visible(true);
	}
	
	public function display() : Void
	{
		tween(0, setAlpha, 1, 500, Quad.easeIn, null, 200);
	}
	
	public function resize( _w : Int , _h : Int ) : Void
	{
		var _y : Int = _h - 30;
		
		setY( _y );
		setX( _w - 520 );
	}
	
}